package at.fhj.itm.jface;


import org.eclipse.jface.viewers.LabelProvider;


import at.fhj.itm.metadata.Schema;

public class SchemaLabelProvider extends LabelProvider {

	@Override
	public String getText(Object element) {
		if(element instanceof Schema){
			Schema s = (Schema) element;
			return s.getName();
		}
		
		return null;
	}
	
	

}
